package com.ruoyi.vim.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.ruoyi.vim.domain.ImGroupUser;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.vim.domain.TransImGroup;
import com.ruoyi.vim.domain.TransImGroupUser;
import org.apache.ibatis.annotations.Param;

/**
 * 群关系Mapper接口
 * 
 * @author 乐天
 * @since 2022-01-25
 */
public interface ImGroupUserMapper extends BaseMapper<ImGroupUser>
{

    void inserts(@Param("im") TransImGroupUser transImGroupUser);

    void deletes(Long userId, Long groupId);

    List<String> selectByUserId(Long userId);

    List<Long> selectGroupId(Long userId);

//    String selectByIds(Long aLong);
}
